/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package net.db.generator.field.models;

import net.db.generator.field.models.BaseFieldModel;

/**
 *
 * @author abosancic
 */
public class BaseRelationshipsModel extends BaseFieldModel{
    
    // relationships type
    public static final int MANY_TO_ONE = 1;
    public static final int ONE_TO_MANY = 2;
    public static final int ONE_TO_ONE = 3;
    
    private int relationshipsType;

    public BaseRelationshipsModel() {
    }

    public BaseRelationshipsModel(String name, String type, int relationshipsType) {
        super(name, type);
        this.relationshipsType = relationshipsType;
    }

    public int getRelationshipsType() {
        return relationshipsType;
    }

    public void setRelationshipsType(int relationshipsType) {
        this.relationshipsType = relationshipsType;
    }
}
